/********************************************************************************
 *      Copyright:  (C) 2016 Lu Zengmeng<1540999272@qq.com>
 *                  All rights reserved.
 *
 *       Filename:  serial.h
 *    Description:  This head file 
 *
 *        Version:  1.0.0(08/01/2016)
 *         Author:  Lu Zengmeng <1540999272@qq.com>
 *      ChangeLog:  1, Release initial version on "08/01/2016 06:44:25 PM"
 *                 
 ********************************************************************************/
#include <stdio.h>
 
#ifndef __SERIAL_H__
#define __SERIAL_H__
 
extern int speed_arr[];
extern int name_arr[];
extern void set_speed(int fd, int speed);
extern int set_parity(int fd,int databits,int stopbits,int parity);
extern int open_dev(char *dev);
 
#endif
